<template>
    <section>
        <list-select-item :key="'s'+index"  :list-select-item="listSelectItem" :mulcheck="mulcheck" v-for="(listSelectItem,index) in selectlist" @checkedList="checkedList"></list-select-item>
    </section>
</template>


<script>
    import listSelectItem from '../list-select-item/list-select-item.vue'
    export default {
        name:"wioc-list-select",
        components:{
            listSelectItem
        },
        data(){
            return{

            }
        },
        props:{
            selectlist:Array,
			mulcheck:{
				type:Boolean,
				default:false
			},
        },
		methods:{
			checkedList(item,index){
                this.$emit('checkedList',item,index)
            }
		}
    }

</script>

<style lang="less" scoped>

</style>
